package cn.kgc.fallback;

import cn.kgc.pojo.DmItemType;

import cn.kgc.client.RestDmItemTypeClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
@Component
@Slf4j
public class DmItemTypeClientFallBack implements RestDmItemTypeClient {


@Override
public DmItemType getDmItemTypeById(Long id)throws Exception{
return null;
}

@Override
public List<DmItemType>    getDmItemTypeListByMap(Map
<String,Object> param)throws Exception{
log.info("熔断");
return null;
}

@Override
public Integer getDmItemTypeCountByMap(Map
<String,Object> param)throws Exception{
return null;
}

@Override
public Integer qdtxAddDmItemType(DmItemType dmItemType)throws Exception{
return null;
}

@Override
public Integer qdtxModifyDmItemType(DmItemType dmItemType)throws Exception{
return null;
}

@Override

public Integer qdtxDelDmItemType( Long id)throws Exception{
return null;
}
}
